.document-add {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 3;
    background: #fff;

    .document-add-model {
        position: absolute;
        z-index: 3;
        width: 100%;
        box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
        background: #fff;
        top: 40px;
        max-height: calc(100% - 70px);
        padding: 10px;
    }

    .document-add-search {
        display: flex;
        gap: 20px;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        align-items: center;
        position: relative;
        z-index: 5;

        .select-view {
            height: 32px;
            line-height: 32px;
            min-width: 100px;
            max-width: 250px;
            background: #f5f5f5;
            padding: 0 10px;
            flex: 1;
        }
        .select-group-title {
            font-weight: 600;
            color: var(--tiklab-gray-500);
            font-size: 12px;
            padding: 0 10px;
        }
        .document-add-submit {
            cursor: pointer;
            color: var(--tiklab-blue);
            height: 32px;
            line-height: 32px;
            overflow: hidden;
        }
    }

    .document-add-table {
        padding: 0 10px;
        margin: 10px 0;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        max-height: 100%;
        overflow: auto;
        background: #fff;

        .document-add-table-title {
            height: 30px;
            line-height: 30px;
            font-weight: 600;
            color: #999;
        }

        .document-add-table-page {
            height: 20px;
            line-height: 20px;
            font-size: 12px;
            text-align: center;
            color: var(--tiklab-blue);
            cursor: pointer;
        }
    }

    .document-add-item:hover {
        background-color: var(--tiklab-gray-400);
    }

    .document-add-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 10px;

        .document-icon {
            display: inline-flex;
            gap: 10px;
            align-items: center;
        }

        .document-title {
            margin-top: 10px;
        }

        .document-id {
            color: #999;
            font-size: 12px;
        }

        .document-right {
            display: flex;
            align-items: center;

            .document-icon {
                background: #DEEBFF;
                color: #0947A6;
                font-size: 12px;
                padding: 0 5px;
                border-radius: 4px;
            }
        }
    }
}